|
EXECUTE EXECUTABLE
Executes an executable and returns the handle as a DWORD.
Return DWORD=EXECUTE EXECUTABLE(Filename, Commandline, Directory)
Return DWORD=EXECUTE EXECUTABLE(Filename, Commandline, Directory, Priority)
Filename
String
The filename of the executable
Commandline
String
The command line submitted along with the executable
Directory
String
The directory the executable is located
Priority
Integer
The priority to run the executable at, the default is zero and higher priority is one.
This value is a positive number between 0 and 4294967295.
id=execute executable("notepad.exe","","")
while executable running(id)=1
if spacekey()=1 then stop executable id
endwhile
FILE Commands Menu
Index
|